package com.manager.commons.base;

//                   _ooOoo_    
//                  o8888888o    
//                  88" . "88    
//                  (| -_- |)    
//                   O\ = /O    
//               ____/'---'\____    
//              /. '\\| : |//' .\    
//             // \\||| : |||// \\   
//            // _|||||-:-|||||_ \\    
//           // | | \\\ - /// | | \\
//           || |_| ''\---/'' |_| || 
//            \ .-\___/'-'\___/-. /    
//          ___\. .' /--.--\ '. ./___    
//        .""'< `.___\_<|>_/___.' >'"".    
//       | |: `- \`.|'\ _ /'|.`/ -` :| |    
//		  \ \ `-. \_ __\ /__ _/ .-` / /    
//======'-.___`-.___\_______/___.-`___.-'======    
//                   '=---='    
//.................................................    
//写一哈代码，你就青叫唤；信龟儿设计，你逗是傻逼。
//永无Bug，啷个可能！求佛主保佑也没球用！

import java.io.Serializable;

/**
 * Session用户实体
 * 
 * @author H
 */
public class SessionUser implements Serializable {

	private static final long serialVersionUID = 5091117235808696615L;
	/**
	 * 用户
	 */
	private Object user;
	/**
	 * 主键id
	 */
	private String userPkid;
	/**
	 * 用户姓名
	 */
	private String userName;
	/**
	 * 用户账号
	 */
	private String userAccount;
	/**
	 * 用户组ID
	 */
	private String userGroupId;
	/**
	 * 用户数据查询
	 */
	private Short userDataQuery = 0;
	/**
	 * 模版路径
	 */
	private String userViewsPath;

	public SessionUser() {}

	public SessionUser(Object user, String userPkid, String userAccount) {
		this.user = user;
		this.userPkid = userPkid;
		this.userAccount = userAccount;
	}

	public SessionUser(Object user, String userPkid, String userAccount, String userViewsPath) {
		this.user = user;
		this.userPkid = userPkid;
		this.userAccount = userAccount;
		this.userViewsPath = userViewsPath;
	}

	public SessionUser(Object user, String userPkid, String userAccount, String userGroupId, String userViewsPath) {
		this.user = user;
		this.userPkid = userPkid;
		this.userAccount = userAccount;
		this.userGroupId = userGroupId;
		this.userViewsPath = userViewsPath;
	}
	
	public SessionUser(Object user, String userPkid, String userAccount, String userGroupId, Short userDataQuery,String userViewsPath) {
		this.user = user;
		this.userPkid = userPkid;
		this.userAccount = userAccount;
		this.userGroupId = userGroupId;
		this.userDataQuery = userDataQuery;
		this.userViewsPath = userViewsPath;
	}
	
	public SessionUser(Object user, String userPkid, String userName, String userAccount, String userGroupId, Short userDataQuery,String userViewsPath) {
		this.user = user;
		this.userPkid = userPkid;
		this.userName = userName;
		this.userAccount = userAccount;
		this.userGroupId = userGroupId;
		this.userDataQuery = userDataQuery;
		this.userViewsPath = userViewsPath;
	}

	public Object getUser() {
		return user;
	}

	public void setUser(Object user) {
		this.user = user;
	}

	public String getUserPkid() {
		return userPkid;
	}

	public void setUserPkid(String userPkid) {
		this.userPkid = userPkid;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserAccount() {
		return userAccount;
	}

	public void setUserAccount(String userAccount) {
		this.userAccount = userAccount;
	}

	public String getUserGroupId() {
		return userGroupId;
	}

	public void setUserGroupId(String userGroupId) {
		this.userGroupId = userGroupId;
	}

	public Short getUserDataQuery() {
		return userDataQuery;
	}

	public void setUserDataQuery(Short userDataQuery) {
		this.userDataQuery = userDataQuery;
	}

	public String getUserViewsPath() {
		return userViewsPath;
	}

	public void setUserViewsPath(String userViewsPath) {
		this.userViewsPath = userViewsPath;
	}
}